<entry>
    <organizer moodCode="EVN" classCode="CLUSTER">
        <statusCode/>
        <component>
            <observation classCode="OBS" moodCode="EVN">
                <code code="DE03.00.087.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录" displayName="锻炼频率"/>
                <value xsi:type="CD" code="${docData.shengHuoFS.duanLianPL.code}" displayName="${docData.shengHuoFS.duanLianPL.displayName}" codeSystem="2.16.156.10011.2.3.1.23" codeSystemName="身体活动频率代码表"/>
            </observation>
        </component>
        <!--运动时长（min）-->
        <#if docData.shengHuoFS.meiCiDLSJ.value??>
        <component>
            <observation classCode="OBS" moodCode="EVN">
                <code code="DE03.00.088.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录" displayName="运动时长（min）"/>
                <value xsi:type="IVL_TS">
                    <width value="${docData.shengHuoFS.meiCiDLSJ.value}" unit="${docData.shengHuoFS.meiCiDLSJ.unit}"/>
                </value>
            </observation>
        </component>
        </#if>
        <!--坚持锻炼时间（数据元）-->
        <#if docData.shengHuoFS.jianChiDLSJ.value??>
        <component>
            <observation classCode="OBS" moodCode="EVN">
                <code code="DE03.00.024.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录" displayName="坚持锻炼时间"/>
                <value xsi:type="PQ" value="${docData.shengHuoFS.jianChiDLSJ.value!''}" unit="${docData.shengHuoFS.jianChiDLSJ.unit!''}"/>
            </observation>
        </component>
        </#if>
        <!--锻炼方式（数据元）-->
        <component>
            <observation classCode="OBS" moodCode="EVN">
                <code code="DE03.00.086.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录" displayName="锻炼方式"/>
                <value xsi:type="ST">${docData.shengHuoFS.duanLianFS!''}</value>
            </observation>
        </component>
        <!--饮食习惯（数据元）-->
        <component>
            <observation classCode="OBS" moodCode="EVN">
                <code code="DE03.00.081.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录" displayName="饮食习惯"/>
                <value xsi:type="CD" code="${docData.shengHuoFS.yinShiXG.code!''}" displayName="${docData.shengHuoFS.yinShiXG.displayName!''}" codeSystem="2.16.156.10011.2.3.1.19" codeSystemName="饮食习惯代码表"/>
            </observation>
        </component>
    </organizer>
</entry>
<!--吸烟状况（数据元）-->
<entry>
    <organizer moodCode="EVN" classCode="CLUSTER">
        <statusCode/>
        <component>
            <observation classCode="OBS" moodCode="EVN">
                <code code="DE03.00.073.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录" displayName="吸烟状况"/>
                <value code="${docData.shengHuoFS.xiYanZK.code!''}" displayName="${docData.shengHuoFS.xiYanZK.displayName!''}" xsi:type="CD" codeSystem="2.16.156.10011.2.3.2.5" codeSystemName="吸烟状况代码表"/>
            </observation>
        </component>
        <!--日吸烟量（数据元）-->
        <#if docData.shengHuoFS.riXiYL.value??>
        <component>
            <observation classCode="OBS" moodCode="EVN">
                <code code="DE03.00.053.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录" displayName="日吸烟量"/>
                <value xsi:type="PQ" unit="${docData.shengHuoFS.riXiYL.unit!''}" value="${docData.shengHuoFS.riXiYL.value!''}"/>
            </observation>
        </component>
        </#if>
        <!--开始吸烟年龄（岁）（数据元）-->
        <#if docData.shengHuoFS.kaiShiXYNL.value??>
        <component>
            <observation classCode="OBS" moodCode="EVN">
                <code code="DE03.00.036.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录" displayName="开始吸烟年龄（岁）"/>
                <value xsi:type="PQ" unit="${docData.shengHuoFS.kaiShiXYNL.unit!''}" value="${docData.shengHuoFS.kaiShiXYNL.value!''}"/>
            </observation>
        </component>
        </#if>
        <!--戒烟年龄（岁）（数据元）-->
        <#if docData.shengHuoFS.jieYanNL.value??>
        <component>
            <observation classCode="OBS" moodCode="EVN">
                <code code="DE03.00.032.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录" displayName="开始吸烟年龄（岁）"/>
                <value xsi:type="PQ" unit="${docData.shengHuoFS.jieYanNL.unit!''}" value="${docData.shengHuoFS.jieYanNL.value!''}"/>
            </observation>
        </component>
        </#if>
    </organizer>
</entry>
<!--饮酒频率（数据元）-->
<entry>
    <organizer moodCode="EVN" classCode="CLUSTER">
        <statusCode/>
        <#if docData.shengHuoFS.yinJiuPL.code??>
        <component>
            <observation classCode="OBS" moodCode="EVN">
                <code code="DE03.00.076.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录" displayName="饮酒频率"/>
                <value xsi:type="CD" code="${docData.shengHuoFS.yinJiuPL.code!''}" displayName="${docData.shengHuoFS.yinJiuPL.displayName!''}" codeSystem="2.16.156.10011.2.3.1.16" codeSystemName="饮酒频率代码表"/>
            </observation>
        </component>
        </#if>
        <!--日饮酒量-->
        <#if docData.shengHuoFS.riYinJL.value??>
        <component>
            <observation classCode="OBS" moodCode="EVN">
                <code code="DE03.00.054.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录" displayName=" 日饮酒量（两）"/>
                <value xsi:type="PQ" unit="${docData.shengHuoFS.riYinJL.unit!''}" value="${docData.shengHuoFS.riYinJL.value!''}"/>
            </observation>
        </component>
        </#if>
        <!--戒酒标志 -->
        <#if docData.shengHuoFS.jieJiuBZ??>
        <component>
            <observation classCode="OBS" moodCode="EVN">
                <code code="DE03.00.030.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录" displayName="戒酒标志"/>
                <value xsi:type="BL" value="${docData.shengHuoFS.jieJiuBZ!''}"/>
            </observation>
        </component>
        </#if>
        <!--戒酒年龄（岁）-->
        <#if docData.shengHuoFS.jieJiuNL.value??>
        <component>
            <observation classCode="OBS" moodCode="EVN">
                <code code="DE03.00.031.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录" displayName=" 戒酒年龄（岁）"/>
                <value xsi:type="PQ" unit="${docData.shengHuoFS.jieJiuNL.unit!''}" value="${docData.shengHuoFS.jieJiuNL.value!''}"/>
            </observation>
        </component>
        </#if>
        <!--	开始饮酒年龄（岁）-->
        <#if docData.shengHuoFS.kaiShiYJNL.value??>
        <component>
            <observation classCode="OBS" moodCode="EVN">
                <code code="DE03.00.037.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录" displayName="开始饮酒年龄（岁）"/>
                <value xsi:type="PQ" unit="${docData.shengHuoFS.kaiShiYJNL.unit!''}" value="${docData.shengHuoFS.kaiShiYJNL.value!''}"/>
            </observation>
        </component>
        </#if>
        <!--醉酒标志 -->
        <component>
            <observation classCode="OBS" moodCode="EVN">
                <code code="DE03.00.098.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录" displayName="醉酒标志"/>
                <value xsi:type="BL" value="${docData.shengHuoFS.zuiJiuBZ!''}"/>
                <#if docData.shengHuoFS.yinJiuZL??>
                <entryRelationship typeCode="COMP">
                    <!--饮酒种类（数据元）-->
                    <observation classCode="OBS" moodCode="EVN">
                        <code code="DE03.00.078.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录" displayName="饮酒种类"/>
                        <value xsi:type="CD" code="${docData.shengHuoFS.yinJiuZL.code!''}" displayName="${docData.shengHuoFS.yinJiuZL.displayName!''}" codeSystem="2.16.156.10011.2.3.1.17" codeSystemName="饮酒种类代码表"/>
                    </observation>
                </entryRelationship>
                </#if>
            </observation>
        </component>
    </organizer>
</entry>